home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / win_u_z / winutil2.zip / EXPLAIN.TXT < prev    next >
Text File  |  1992-02-17  |  9KB  |  306 lines

  1.  
  2.  
  3.  
  4.           Look MA, All The Neat Things I Could Do, if Only I Were a VxD!
  5.  
  6.  
  7.           1  EDOS, a DOS extender for Windows Enhanced Mode
  8.  
  9.  
  10.           EDOS is a powerful device driver program that extends the DOS
  11.           environment to make DOS, Windows aware whenever DOS is being run
  12.           from inside Windows. It's primary features include new command
  13.           line commands and the ability to disable DOS commands. New
  14.           commands provide technical information about the state of the DOS
  15.           box and the state of Windows. Also, the ability to change PIF
  16.           settings originally changeable only with the PIF editor. Other
  17.           features include a hot key for exiting from a DOS Box, ability to
  18.           view the clipboard and an alarm that returns you to the DOS Box
  19.           where the alarm was originally created. Commands to start and
  20.           stop high resolution timers for performance timing are also
  21.           included.
  22.  
  23.           EDOS is a VxD, a special class of Windows Device Driver. VxD's
  24.           form the very foundation of Windows Enhanced Mode. The core VxD
  25.           code resides in the WIN386.EXE file. This file consists of many
  26.           smaller pieces of code copied together to form an integrated set
  27.           of VxDs(the default system in 386 mode). Each VxD component can
  28.           be replaced in it's entirety, or one internal function at a time.
  29.           This replaceability and substitutability provides tremendous
  30.           flexibility. Windows standard/286 mode is not built this way and
  31.           lacks the flexibility, inherent therein. 286 mode is difficult to
  32.           modify, add to or replace. As a consequence, it is likely to
  33.           receive little future development work, inside or outside
  34.           Microsoft.
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.           EDOS uses so-called "undocumented DOS" function calls, hooking of
  49.           protected mode/real mode interrupt vectors and service functions
  50.           provided by other VxDs. EDOS employs VxD services for managing
  51.           memory, scheduling, individual device and system control,
  52.           keyboard, calling DOS & BIOS services, timing, initialization
  53.           information and message displaying. In short, at least one or
  54.           more functions from every major group of VxD support routines.
  55.  
  56.           A VxD runs at ring 0, the most privileged mode of the
  57.           microprocessor. Because of this EDOS has access to the most basic
  58.           parts of the Windows core. In tandem with a Windows Dynamic Link
  59.           Library, a VxD like EDOS can be built to do almost anything,
  60.           although at the present time no custom DLL is provided with EDOS.
  61.           Even though the present version 2.00a is reasonably impressive,
  62.           it is very crude compared to what could be done with more time
  63.           and effort. VxD's offer great opportunities to enhance and extend
  64.           Windows and it's components.
  65.  
  66.  
  67.           2  Features
  68.  
  69.  
  70.           EDOS features are provided by 5 groups of commands.
  71.           Control, Performance Timing, Information, Scheduling,
  72.           Miscellaneous.
  73.  
  74.           Control   Performance Timing  Information    Scheduling  Misc.
  75.  
  76.           ALT-F4    BOXTIME             STATUS/EDOS    PRIB        ALARM
  77.           BOXSWITCH SYSTIME             EMS            PRIF
  78.                                         XMS            BACKGROUND
  79.                                         PIF            EXCLUSIVE
  80.                                         MEM            SLICE
  81.                                         VER
  82.                                         CLIPBOARD
  83.  
  84.  
  85.           3  Overview of Feature Groups
  86.  
  87.  
  88.           EDOS functions & commands can be combined in a multitude of ways
  89.           to enhance the way in which you use a DOS session in Windows.
  90.           Several features are built in and simply make life easier. The
  91.           ALF-F4 exit feature is one of these. Once you become accustomed
  92.           to it, you'll never want to be without it. The other most
  93.           noticeable feature is the pif file name and edos version number
  94.           displayed at DOS session start-up. This combined with the ability
  95.           to define a batch file to be run at every DOS session start-up
  96.           means that you have almost unlimited flexibility to customise DOS
  97.           sessions in general and any session specifically.
  98.  
  99.           The DOSSTART.BAT file executed at DOS session start-up is located
  100.           by Windows starting with the current directory. If not found,
  101.           then in the WINDIR directory, if not there then the PATH. If not
  102.  
  103.  
  104.  
  105.                                         - 2 -
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.           found by any of these routes then a "Bad command" message will be
  115.           generated. Because of this step by step search method, you may
  116.           have numerous DOSSTART batch files. The first one found is the
  117.           one executed. By proper organization, you can cause the intended
  118.           batch file to be found, using the "properties/working directory"
  119.           option on the system menu button.
  120.  
  121.           Once you have the intended batch file executing with an ICON, you
  122.           can customize to your hearts content. Any regular DOS command may
  123.           be executed, as well as all EDOS commands. With all this power at
  124.           your disposal, you may never find all the ways to combine these
  125.           commands.
  126.  
  127.  
  128.           A few suggestions. If you use a "CLS" first, the screen will be
  129.           cleared to a prompt. You can then issue whatever commands you
  130.           want to create the entry screen of your choice. By "TYPE" ing a
  131.           file to the screen, that says "Windows DOS Session", you will
  132.           have a highly visible indicator that Windows is running. In
  133.           short, you can execute any internal or external command or
  134.           program that you want.
  135.  
  136.           Outside of setting up the screen, the most likely thing you will
  137.           want to do is add memory or change the scheduling system. Since
  138.           you can set the scheduling options from a batch file it is no
  139.           longer necessary to have a multitude of PIF files for every
  140.           situation.
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.           The two control commands in EDOS are essentially hot key
  151.           functions. ALT-F4 pushes "exit" + enter into the keyboard buffer
  152.           which causes DOS to exit back to Windows.
  153.  
  154.           BOXSWITCH controls the ability to switch out of a DOS Box and
  155.           back into Windows.
  156.  
  157.  
  158.           The two performance timers
  159.  
  160.  
  161.  
  162.           The information services are the most detailed and complex of
  163.           EDOS's functionality.
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.                                         - 3 -
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.           4  EDOS code consists of 4 major components.
  181.  
  182.  
  183.           Initialization: EDOS device initialization, hooking vectors and
  184.           services, installing hot keys.
  185.  
  186.           Processing hooked interrupts, service calls and hot keys.
  187.  
  188.           Parsing and analyzing command lines.
  189.  
  190.           Servicing a supported command.
  191.  
  192.  
  193.  
  194.  
  195.  
  196.           A discussion of each of the 4 code sections(above), emphasizing
  197.           the GENERAL principles involved ie. hooking service calls.
  198.           Ability to CONTROL Windows, Ala the ALARM command.
  199.  
  200.  
  201.  
  202.  
  203.  
  204.           5  Using EDOS
  205.  
  206.  
  207.           A beginners perspective
  208.           A programmers testing tool
  209.  
  210.  
  211.           6  Weaknesses and limitations
  212.  
  213.  
  214.           Bugs in Windows.
  215.           Bugs in DOS.
  216.           Limitations of Windows and DOS.
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.           Copyright 1991, Michael P. Maurice
  225.  
  226.           503-694-5267
  227.           CIS 71171,47
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.                                         - 4 -
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.                                     Contents
  253.  
  254.  
  255.                   1  EDOS, a DOS extender for Windows Enhanced
  256.                      Mode  . . . . . . . . . . . . . . . . . . . . . 1
  257.                   2  Features  . . . . . . . . . . . . . . . . . . . 2
  258.                   3  Overview of Feature Groups  . . . . . . . . . . 2
  259.                   4  EDOS code consists of 4 major components. . . . 4
  260.                   5  Using EDOS  . . . . . . . . . . . . . . . . . . 4
  261.                   6  Weaknesses and limitations  . . . . . . . . . . 4
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.                                           i
  304.  
  305.  
  306.